/*
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
OCR front-end client interface.
Created on Mon Jul 10 11:00:00 2017
Author: Prasun Roy | CVPRU-ISICAL (http://www.isical.ac.in/~cvpr)
GitHub: https://github.com/prasunroy/ocr
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*/

body
{
  margin: 0;
  font: 14px "Lucida Grande", Helvetica, Arial, sans-serif;
}

canvas
{
  border: 1px solid #808080;
  margin-top: 20px;
  margin-bottom: 10px;
  width: 100%;
}

img
{
  margin-top: 20px;
  margin-bottom: 10px;
  width: 100%;
  height: 100%;
}

footer
{
  position: fixed;
  bottom: 0px;
  width: 100%;
  padding-top: 10px;
  padding-bottom: 10px;
  background-color: #222222;
  color: #808080;
  text-align: center;
}

textarea
{
  margin-top: 20px;
  margin-bottom: 10px;
  width: 100%;
  height: 100%;
  border: none;
  resize: none;
  font-size: 80px;
}

#menu > li > a
{
  cursor: pointer;
}

#menu > li > a > i
{
  visibility: hidden;
}

#menu > li > a.selected > i
{
  visibility: visible;
}

.menu-icon
{
  margin-right: 10px;
}

.anim
{
  margin-top: 40px;
  margin-bottom: 40px;
}

.box-shadow
{
  -webkit-box-shadow: 0px 0px 20px 0px rgba(50, 50, 50, 0.5);
  -moz-box-shadow: 0px 0px 20px 0px rgba(50, 50, 50, 0.5);
  box-shadow: 0px 0px 20px 0px rgba(50, 50, 50, 0.5);
}

.btn-custom
{
  margin-top: 0px;
  margin-bottom: 0px;
  width: 100%;
  height: 100%;
  border-radius: 0px;
}

.dropdown-menu
{
  font: 12px "Lucida Grande", Helvetica, Arial, sans-serif;
}

.file
{
  position: absolute;
  width: 0.1px;
  height: 0.1px;
  opacity: 0;
  overflow: hidden;
  z-index: -1;
}

.jumbotron
{
  margin-top: 0px;
  margin-bottom: 0px;
  padding-top: 20px;
  padding-bottom: 20px;
  background-color: #583e7e;
  color: #ffffff;
}

.loader
{
  position: fixed;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background-color: #ffffff;
  z-index: 9999;
}

.navbar
{
  margin-top: 0px;
  margin-bottom: 0px;
}

.navbar-avatar
{
  border: 2px solid #ffffff;
  margin: 5px 0px 0px 15px;
}

.no-outline:focus
{
  outline: none;
  box-shadow: none;
}

.no-scroll
{
  position: fixed;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.panel
{
  margin-top: 20px;
  margin-bottom: 0px;
}

.switch
{
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.switch input
{
  display: none;
}

.slider
{
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  border-radius: 34px;
  background-color: #cccccc;
  cursor: pointer;
  transition: .4s;
  -webkit-transition: .4s;
}

.slider:before
{
  position: absolute;
  left: 4px;
  bottom: 4px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background-color: #ffffff;
  content: "";
  transition: .4s;
  -webkit-transition: .4s;
}

input:focus + .slider
{
  box-shadow: 0 0 1px #583e7e;
}

input:checked + .slider
{
  background-color: #583e7e;
}

input:checked + .slider:before
{
  transform: translateX(26px);
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
}

.spinner
{
  position: fixed;
  left: 50%;
  top: 50%;
  margin-left: -25px;
  margin-top: -25px;
  height: 50px;
  width: 50px;
  background-color: #222222;
  z-index: 9999;
  animation: sk-rotateplane 1.2s infinite ease-in-out;
  -webkit-animation: sk-rotateplane 1.2s infinite ease-in-out;
}

@keyframes sk-rotateplane
{
  0%
  {
    transform: perspective(120px) rotateX(0deg) rotateY(0deg);
    -webkit-transform: perspective(120px) rotateX(0deg) rotateY(0deg)
  }
  50%
  {
    transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg);
    -webkit-transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg)
  }
  100%
  {
    transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
    -webkit-transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
  }
}

@-webkit-keyframes sk-rotateplane
{
  0%
  {
    -webkit-transform: perspective(120px)
  }
  50%
  {
    -webkit-transform: perspective(120px) rotateY(180deg)
  }
  100%
  {
    -webkit-transform: perspective(120px) rotateY(180deg) rotateX(180deg)
  }
}
